feat: dockerfile

This commit is contained in:
icey-yu 2024-11-12 15:49:47 +08:00
parent 821520e02c
commit cb3610ca68

View File

@ -1,5 +1,5 @@
# Use Go 1.21 Alpine as the base image for building the application # Use Go 1.22 Alpine as the base image for building the application
FROM golang:1.21-alpine AS builder FROM golang:1.22-alpine AS builder
# Define the base directory for the application as an environment variable # Define the base directory for the application as an environment variable
ENV SERVER_DIR=/openim-server ENV SERVER_DIR=/openim-server